\(\int \frac {1}{x (a+b x^6)} \, dx\) [1327]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 13, antiderivative size = 22 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=\frac {\log (x)}{a}-\frac {\log \left (a+b x^6\right )}{6 a} \]

[Out]

ln(x)/a-1/6*ln(b*x^6+a)/a

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {272, 36, 29, 31} \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=\frac {\log (x)}{a}-\frac {\log \left (a+b x^6\right )}{6 a} \]

[In]

Int[1/(x*(a + b*x^6)),x]

[Out]

Log[x]/a - Log[a + b*x^6]/(6*a)

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{6} \text {Subst}\left (\int \frac {1}{x (a+b x)} \, dx,x,x^6\right ) \\ & = \frac {\text {Subst}\left (\int \frac {1}{x} \, dx,x,x^6\right )}{6 a}-\frac {b \text {Subst}\left (\int \frac {1}{a+b x} \, dx,x,x^6\right )}{6 a} \\ & = \frac {\log (x)}{a}-\frac {\log \left (a+b x^6\right )}{6 a} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=\frac {\log (x)}{a}-\frac {\log \left (a+b x^6\right )}{6 a} \]

[In]

Integrate[1/(x*(a + b*x^6)),x]

[Out]

Log[x]/a - Log[a + b*x^6]/(6*a)

Maple [A] (verified)

Time = 4.48 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.95

method result size
default \(\frac {\ln \left (x \right )}{a}-\frac {\ln \left (b \,x^{6}+a \right )}{6 a}\) \(21\)
norman \(\frac {\ln \left (x \right )}{a}-\frac {\ln \left (b \,x^{6}+a \right )}{6 a}\) \(21\)
risch \(\frac {\ln \left (x \right )}{a}-\frac {\ln \left (b \,x^{6}+a \right )}{6 a}\) \(21\)
parallelrisch \(\frac {6 \ln \left (x \right )-\ln \left (b \,x^{6}+a \right )}{6 a}\) \(21\)

[In]

int(1/x/(b*x^6+a),x,method=_RETURNVERBOSE)

[Out]

ln(x)/a-1/6*ln(b*x^6+a)/a

Fricas [A] (verification not implemented)

none

Time = 0.36 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.82 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=-\frac {\log \left (b x^{6} + a\right ) - 6 \, \log \left (x\right )}{6 \, a} \]

[In]

integrate(1/x/(b*x^6+a),x, algorithm="fricas")

[Out]

-1/6*(log(b*x^6 + a) - 6*log(x))/a

Sympy [A] (verification not implemented)

Time = 0.17 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.68 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=\frac {\log {\left (x \right )}}{a} - \frac {\log {\left (\frac {a}{b} + x^{6} \right )}}{6 a} \]

[In]

integrate(1/x/(b*x**6+a),x)

[Out]

log(x)/a - log(a/b + x**6)/(6*a)

Maxima [A] (verification not implemented)

none

Time = 0.22 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.05 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=-\frac {\log \left (b x^{6} + a\right )}{6 \, a} + \frac {\log \left (x^{6}\right )}{6 \, a} \]

[In]

integrate(1/x/(b*x^6+a),x, algorithm="maxima")

[Out]

-1/6*log(b*x^6 + a)/a + 1/6*log(x^6)/a

Giac [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.09 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=\frac {\log \left (x^{6}\right )}{6 \, a} - \frac {\log \left ({\left | b x^{6} + a \right |}\right )}{6 \, a} \]

[In]

integrate(1/x/(b*x^6+a),x, algorithm="giac")

[Out]

1/6*log(x^6)/a - 1/6*log(abs(b*x^6 + a))/a

Mupad [B] (verification not implemented)

Time = 5.66 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.82 \[ \int \frac {1}{x \left (a+b x^6\right )} \, dx=-\frac {\ln \left (b\,x^6+a\right )-6\,\ln \left (x\right )}{6\,a} \]

[In]

int(1/(x*(a + b*x^6)),x)

[Out]

-(log(a + b*x^6) - 6*log(x))/(6*a)